package com.neusoft.neuiotms.dcom.repository.malfunction;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.malfunction.MalfunctionCustomerReview;

public interface MalfunctionCustomerReviewRepository extends JpaRepository<MalfunctionCustomerReview, Long> {

    MalfunctionCustomerReview findByWorkNumAndTaskId(String workNum, String taskId);

    MalfunctionCustomerReview findTopByWorkNumOrderByIdDesc(String workNum);
}
